﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="sys_pos_frame.aspx.cs" Inherits="Ccit.SysPlat.Organ.sys_pos_frame" %>
<html>
<head runat="server">
    <title></title>
    <script type="text/javascript" src="../script/jquery.js"></script>
    <script type="text/javascript">
    <!--
        function doAddNew() {
            self.frames[1].initAddNew();
        }
    //-->
    </script>
</head>
<body>
    <form id="form1" runat="server">   
    <input type="hidden" id="_hidOrganId" runat="server" />
    <asp:ScriptManager ID="ScriptManager1" runat="server">
    </asp:ScriptManager>
    <table class="tbToolbar" cellpadding="0" cellspacing="0" width="98%" align="center">
        <tr>
            <td align="left">
                <div class="tbSeparator"></div>
            </td>
            <td width="100%" class="titlebar">
                系统管理 - > 职位设置
            </td>
            <td align="right">
                <div class="tbSeparator"></div>
            </td>
            <td align="right">
                <nobr>
                    <a href="javascript:doAddNew()" class="linktext">
                        <img src="../images/toolbar/addnew.gif" border="0" />新增
                    </a>
                </nobr>
            </td>
            <td align="right">
                <div class="tbSeparatorEnd"></div>
            </td>
        </tr>
    </table>
    <table class="tableborder" cellpadding="0" cellspacing="0" width="98%" height="100%" align="center">
        <tr>
            <td width="25%">
                <iframe id="ifrmTree" name="ifrmTree"height="100%" width="98%" scrolling="auto"
					src="" style="BORDER-RIGHT: #000000 1px solid;MARGIN:0" marginheight="0" marginwidth="0" frameborder="0"></iframe>
            </td>
            <td width="75%">
                <iframe id="ifrmEdit" name="ifrmEdit" height="100%" width="100%" scrolling="auto"
						src="" frameborder="0"></iframe>
            </td>
        </tr>
    </table>
    </form>
    <script type="text/javascript">
    <!--
        $(document).ready(function(){            
            var organId = $get("_hidOrganId").value;
            var vPageParam = "organId=" + organId;
            var encodeParam = base64encode(vPageParam);
            $get("ifrmTree").src = "./sys_pos_tree.aspx?" + encodeParam;
            $get("ifrmEdit").src = "./sys_pos_edit.aspx?" + encodeParam;
        });
    //-->
    </script>     
</body>
</html>
